package cn.chinaflame.pagodas.entity;

import cn.chinaflame.pagodas.req.BaseReq;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by yw on 2018/10/12.
 */
@Data
@Entity
@Table(name = "pa_donate_goods", schema = "pagoda", catalog = "")
public class PaDonateGoods{
    @Id
    @Column(name = "id", nullable = false, length = 20)
    private String id;      //编号
    private String name;    //名称
    private BigDecimal price; //价格
    private int stock;      //库存
    private String status;      //状态
    private String  introduction;   //商品简介
    private String createTime;      //创建时间
    private String updateTime;      //更新时间

}
